/**
 * Copyright (C), 2015-2019, XXX有限公司
 * FileName: UserService
 * Author:   zhouheng
 * Date:     2019/6/8 22:14
 * Description:
 * History:
 * <author>          <time>          <version>          <desc>
 * 作者姓名           修改时间           版本号              描述
 */
package com.zhouh.golden.system.service;

import com.zhouh.golden.common.service.IService;
import com.zhouh.golden.system.domain.MyUser;
import com.zhouh.golden.system.dto.UserQueryRequest;
import com.zhouh.golden.system.dto.UserQueryResponse;

/**
 * 〈一句话功能简述〉<br> 
 * 〈〉
 *
 * @author zhouheng
 * @create 2019/6/8
 * @since 1.0.0
 */
public interface UserService extends IService<MyUser> {
    MyUser findByNameOrMobile(String username);

    MyUser findByName(String username);

    MyUser findByMobile(String mobile);


    void registUser(MyUser user);

    UserQueryResponse getUserById(UserQueryRequest userQueryRequest);
}